import Food from "./Food";

// 在Food类同目录下创建CartItem.ts
export default class CartItem {
  food: Food;
  quantity: number;

  constructor(food: Food) {
    this.food = food;
    this.quantity = 1;
  }
}